package com.cmc6.notify.model.dto;

import com.cmc6.common.model.entity.NotifyRefUserDO;
import com.cmc6.common.util.MyPage;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * {@link NotifyRefUserDO,com.cmc6.common.model.entity.NotifyDO}
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class NotifyPageDTO extends MyPage {

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "通知类型（字典值）")
    private Byte type;

    @ApiModelProperty(value = "是否已读")
    private Boolean readFlag;

    @ApiModelProperty(value = "创建开始时间")
    private Date beginTime;

    @ApiModelProperty(value = "创建结束时间")
    private Date endTime;

}
